/** @file font.h
 * @brief font
 * @author - Robert Zhang <armner@gmail.com>
 * @date
 * @version 1.0.0
 * @note
 */
#ifndef	_FONT_H_
#define	_FONT_H_

#ifdef __cplusplus
extern "C" {
#endif

typedef	struct{
	short width;		//width
	short height;		//height
	short size;		//number of chars per font
	char *base;				//font addr
} FONT;

#define	FONT_ADDR(x)			&font->base[(x-' ')*font->size]
#define	FONT_WIDTH(font)	(font->width)

extern FONT font_STANDARD[1];

//#include "dotumchehei.h"
//#include "courier12hei.h"
//#include "courier15hei.h"
//#include "gulimche.h"

#ifdef __cplusplus
}
#endif

#endif
